package cn.com.xinjinfu.pdoulcProduct.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 交易记录
 * Created by android-adt on 2016/1/21.
 */
public class TransactHostBean implements Serializable {

    private String msg;
    private int code;
    private DealRecord dealRecord;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DealRecord getDealRecord() {
        return dealRecord;
    }

    public void setDealRecord(DealRecord dealRecord) {
        this.dealRecord = dealRecord;
    }

    @Override
    public String toString() {
        return "TransactHostBean{" +
                "msg='" + msg + '\'' +
                ", code=" + code +
                ", dealRecord=" + dealRecord +
                '}';
    }
    public static class DealRecord{
        private int pageSize;
        private int totalPageCount;
        private int currPage;
        private int totalCount;
        private String pageTitle;
        private Conditions conditions;
        private List<Page> page;

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getTotalPageCount() {
            return totalPageCount;
        }

        public void setTotalPageCount(int totalPageCount) {
            this.totalPageCount = totalPageCount;
        }

        public int getCurrPage() {
            return currPage;
        }

        public void setCurrPage(int currPage) {
            this.currPage = currPage;
        }

        public int getTotalCount() {
            return totalCount;
        }

        public void setTotalCount(int totalCount) {
            this.totalCount = totalCount;
        }

        public String getPageTitle() {
            return pageTitle;
        }

        public void setPageTitle(String pageTitle) {
            this.pageTitle = pageTitle;
        }

        public Conditions getConditions() {
            return conditions;
        }

        public void setConditions(Conditions conditions) {
            this.conditions = conditions;
        }

        public List<Page> getPage() {
            return page;
        }

        public void setPage(List<Page> pages) {
            this.page = pages;
        }

        @Override
        public String toString() {
            return "DealRecord{" +
                    "pageSize=" + pageSize +
                    ", totalPageCount=" + totalPageCount +
                    ", currPage=" + currPage +
                    ", totalCount=" + totalCount +
                    ", pageTitle='" + pageTitle + '\'' +
                    ", conditions=" + conditions +
                    ", page=" + page +
                    '}';
        }

        public static class Conditions{
            private int type;

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            @Override
            public String toString() {
                return "Conditions{" +
                        "type=" + type +
                        '}';
            }
        }
        public static class Page{
            private String summary;
            private String name;
            private int type;
            private double user_balance;
            private double recieve_amount;
            private double amount;
            private double operation;
            private double balance;
            private double freeze;
            private long entityId;
            private long id;
            private long user_id;
            private Date time;
            private boolean willBeSaved;
            private boolean persistent;

            public String getSummary() {
                return summary;
            }

            public void setSummary(String summary) {
                this.summary = summary;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public double getUser_balance() {
                return user_balance;
            }

            public void setUser_balance(double user_balance) {
                this.user_balance = user_balance;
            }

            public double getRecieve_amount() {
                return recieve_amount;
            }

            public void setRecieve_amount(double recieve_amount) {
                this.recieve_amount = recieve_amount;
            }

            public double getAmount() {
                return amount;
            }

            public void setAmount(double amount) {
                this.amount = amount;
            }

            public double getOperation() {
                return operation;
            }

            public void setOperation(double operation) {
                this.operation = operation;
            }

            public double getBalance() {
                return balance;
            }

            public void setBalance(double balance) {
                this.balance = balance;
            }

            public double getFreeze() {
                return freeze;
            }

            public void setFreeze(double freeze) {
                this.freeze = freeze;
            }

            public long getEntityId() {
                return entityId;
            }

            public void setEntityId(long entityId) {
                this.entityId = entityId;
            }

            public long getId() {
                return id;
            }

            public void setId(long id) {
                this.id = id;
            }

            public long getUser_id() {
                return user_id;
            }

            public void setUser_id(long user_id) {
                this.user_id = user_id;
            }

            public Date getTime() {
                return time;
            }

            public void setTime(Date time) {
                this.time = time;
            }

            public boolean isWillBeSaved() {
                return willBeSaved;
            }

            public void setWillBeSaved(boolean willBeSaved) {
                this.willBeSaved = willBeSaved;
            }

            public boolean isPersistent() {
                return persistent;
            }

            public void setPersistent(boolean persistent) {
                this.persistent = persistent;
            }

            @Override
            public String toString() {
                return "Page{" +
                        "summary='" + summary + '\'' +
                        ", name='" + name + '\'' +
                        ", type=" + type +
                        ", user_balance=" + user_balance +
                        ", recieve_amount=" + recieve_amount +
                        ", amount=" + amount +
                        ", operation=" + operation +
                        ", balance=" + balance +
                        ", freeze=" + freeze +
                        ", entityId=" + entityId +
                        ", id=" + id +
                        ", user_id=" + user_id +
                        ", time=" + time +
                        ", willBeSaved=" + willBeSaved +
                        ", persistent=" + persistent +
                        '}';
            }
        }


    }
}
